package com.eagle.videoboot.mapper;

import com.eagle.videoboot.domain.entity.Users;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author eagle
 * @since 2020-04-22
 */
public interface UsersMapper extends BaseMapper<Users> {
	/**
	 * @Description: 用户受喜欢数累加
	 */
	public void addReceiveLikeCount(String userId);

	/**
	 * @Description: 用户受喜欢数累减
	 */
	public void reduceReceiveLikeCount(String userId);

	/**
	 * @Description: 增加粉丝数
	 */
	public void addFansCount(String userId);

	/**
	 * @Description: 增加关注数
	 */
	public void addFollersCount(String userId);

	/**
	 * @Description: 减少粉丝数
	 */
	public void reduceFansCount(String userId);

	/**
	 * @Description: 减少关注数
	 */
	public void reduceFollersCount(String userId);

}
